"use strict";
// 判断屏幕宽度 , 进入移动端还是pc端
(function() {
	let jump = (function jump() {
		const screenWidth = window.innerWidth;
		if (screenWidth < 1040) {
			window.location.href =
				"http://stringify.gitee.io/giteeloginregisterpage/vue%E7%89%88/dist/index.html#/login";
		} else {
		}
		return jump;
	})();

	let timer = null;
	window.addEventListener("resize", () => {
		clearTimeout(timer);
		timer = setTimeout(jump, 400);
	});
})();
